// 三级架构：
// 第一级：对网络分块/分层（影响编码前两位）---- network
// 第二级：同块/同层内再分级（影响编码后三位）---- levels
// 第三级：同级内再分角色（不影响编码，仅作为角色属性存在，方便统计）----roles

export const network = [
  {
    id: 11,
    abbr: "CB",
    category: "CMNet",
    layer: "骨干网",
    levels: [
      {
        id: 1,
        name: "骨干级",
        bias: 0,
        size: 99,
        roles: [
          {id: 1, name: "核心路由器", abbr: "BB"},
          {id: 2, name: "路由反射器", abbr: "RR"},
        ],
      },
      {
        id: 2,
        name: "国内网间级",
        bias: 100,
        size: 99,
        roles: [{id: 1, name: "国内网间路由器", abbr: "CHN"}],
      },
      {
        id: 3,
        name: "国际出口级",
        bias: 200,
        size: 99,
        roles: [
          {id: 1, name: "国际汇聚路由器", abbr: "CTR"},
          {id: 2, name: "国际互联路由器", abbr: "INT"},
          {id: 3, name: "国际调度路由器", abbr: "IDR"},
        ],
      },
      {
        id: 4,
        name: "业务接入级",
        bias: 300,
        size: 199,
        roles: [
          {id: 1, name: "骨干业务接入路由器", abbr: "BSR"},
          {id: 2, name: "骨干业务接入交换机", abbr: "BSW"},
        ],
      },
    ],
  },
  {
    id: 12,
    abbr: "CP",
    category: "CMNet",
    layer: "省内网",
    levels: [
      {
        id: 1,
        name: "省网级",
        bias: 0,
        size: 99,
        roles: [
          {id: 1, name: "省网汇接路由器", abbr: "PB"},
          {id: 2, name: "省网业务接入路由器", abbr: "PSR"},
          {id: 3, name: "省网业务接入交换机", abbr: "PSW"},
          {id: 4, name: "省网路由反射器", abbr: "RR"},
        ],
      },
      {
        id: 2,
        name: "城域级",
        bias: 100,
        size: 99,
        roles: [
          {id: 1, name: "城域核心路由器", abbr: "MB"},
          {id: 2, name: "城域业务接入路由器", abbr: "MSR"},
          {id: 3, name: "城域业务接入交换机", abbr: "MSW"},
        ],
      },
      {
        id: 3,
        name: "接入级",
        bias: 200,
        size: 199,
        roles: [
          {id: 1, name: "业务接入路由器", abbr: "SR"},
          {id: 2, name: "宽带接入服务器", abbr: "BRAS"},
          {id: 3, name: "虚拟宽带接入服务器-控制面", abbr: "vBRAS-CP"},
          {id: 4, name: "虚拟宽带接入服务器-转发面", abbr: "vBRAS-UP"},
        ],
      },
    ],
  },
  {
    id: 21,
    abbr: "DB",
    category: "IP专网",
    layer: "骨干网",
    levels: [
      {
        id: 1,
        name: "骨干级",
        bias: 0,
        size: 99,
        roles: [
          {id: 1, name: "核心路由器", abbr: "CR"},
          {id: 2, name: "核心兼汇聚路由器", abbr: "CR/BR"},
          {id: 3, name: "汇聚路由器", abbr: "BR"},
          {id: 4, name: "路由反射器", abbr: "RR"},
        ],
      },
      {
        id: 2,
        name: "国际出口级",
        bias: 100,
        size: 99,
        roles: [{id: 1, name: "国际互联路由器", abbr: "INT"}],
      },
    ],
  },
  {
    id: 22,
    abbr: "DP",
    category: "IP专网",
    layer: "省内网",
    levels: [
      {
        id: 1,
        name: "城域级",
        bias: 0,
        size: 99,
        roles: [{id: 1, name: "业务接入路由器", abbr: "AR"}],
      },
    ],
  },
  {
    id: 31,
    abbr: "YB",
    category: "云专网",
    layer: "骨干网",
    levels: [
      {
        id: 1,
        name: "骨干级",
        bias: 0,
        size: 99,
        roles: [
          {id: 1, name: "核心路由器", abbr: "BB"},
          {id: 2, name: "路由反射器", abbr: "RR"},
        ],
      },
      {
        id: 2,
        name: "国内网间级",
        bias: 100,
        size: 99,
        roles: [{id: 1, name: "国内网间路由器", abbr: "CHN"}],
      },
      {
        id: 3,
        name: "国际出口级",
        bias: 200,
        size: 99,
        roles: [
          {id: 1, name: "国际汇聚路由器", abbr: "CTR"},
          {id: 2, name: "国际互联路由器", abbr: "INT"},
          {id: 3, name: "国际调度路由器", abbr: "IDR"},
        ],
      },
      {
        id: 4,
        name: "业务接入级",
        bias: 300,
        size: 199,
        roles: [
          {id: 1, name: "骨干业务接入路由器", abbr: "BSR"},
          {id: 2, name: "骨干业务接入交换机", abbr: "BSW"},
        ],
      },
    ],
  },
  {
    id: 32,
    abbr: "YP",
    category: "云专网",
    layer: "省内网",
    levels: [
      {
        id: 1,
        name: "城域级",
        bias: 0,
        size: 99,
        roles: [
          {id: 1, name: "PE路由器", abbr: "PE"},
          {id: 2, name: "云PE路由器", abbr: "CPE"},
          {id: 2, name: "网PE路由器", abbr: "NPE"},
        ],
      },
    ],
  },
];
